package com.novax.ex.activity.provider.api;

import com.novax.ex.activity.provider.api.model.BeebInternalOrderResponse;
import com.novax.ex.activity.provider.api.model.BeebMaxMinIdsResponse;
import com.novax.ex.activity.provider.common.ServerName;
import com.novax.ex.common.results.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


/**
 * @Description
 * @Author zhaolei
 * @Date 10/28/24 5:43 PM
 * @Version 1.0
 */
@FeignClient(url = "${remote.spot-service.endpoint}", name = "InternalTransferOrderApi", contextId = "InternalTransferOrderApi")
public interface InternalTransferOrderApi {
    @GetMapping(value = "/spot/beeb/getMinMaxIds")
    ReturnResult<BeebMaxMinIdsResponse> getBeebMinMaxIds(@RequestParam("startTime") String startTime);

    @GetMapping(value = "/spot/beeb/getData")
    ReturnResult<List<BeebInternalOrderResponse>> getBeebData(@RequestParam("idStart") Long idStart, @RequestParam("pageSize") Long pageSize);

}
